/**
 * 
 */
package sk.stuba.fiit.foo07.genex.beans;

/**
 * @author Martin
 * 
 */
public class Picture {

    private String name;
    private String description;
    private String settings;
    private String mimeType;
    private byte[] content;
    private Integer pictureID;

    public Picture() {
    }

    public Picture(String name, String description, String settings,
            String mimeType, byte[] content, Integer pictureID) {
        super();
        this.name = name;
        this.description = description;
        this.settings = settings;
        this.mimeType = mimeType;
        this.content = content;
        this.pictureID = pictureID;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name
     *                the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the description
     */
    public String getDescription() {
        return description;
    }

    /**
     * @param description
     *                the description to set
     */
    public void setDescription(String description) {
        this.description = description;
    }

    /**
     * @return the settings
     */
    public String getSettings() {
        return settings;
    }

    /**
     * @param settings
     *                the settings to set
     */
    public void setSettings(String settings) {
        this.settings = settings;
    }

    /**
     * @return the mimeType
     */
    public String getMimeType() {
        return mimeType;
    }

    /**
     * @param mimeType
     *                the mimeType to set
     */
    public void setMimeType(String mimeType) {
        this.mimeType = mimeType;
    }

    /**
     * @return the content
     */
    public byte[] getContent() {
        return content;
    }

    /**
     * @param content
     *                the content to set
     */
    public void setContent(byte[] content) {
        this.content = content;
    }

    /**
     * @return the pictureID
     */
    public Integer getPictureID() {
        return pictureID;
    }

    /**
     * @param pictureID
     *                the pictureID to set
     */
    public void setPictureID(Integer pictureID) {
        this.pictureID = pictureID;
    }

    /* (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return this.name;
    }

}
